package com.atstudy.thread;

/**
 * @version v1.0
 * @description:
 * @author: admin
 * @date: 2022/12/22 14:53
 * @copyright: 博为峰
 */
public class ThreadDemo02 {
    public static void main(String[] args) {
        Thread02 thread02 = new Thread02();
        thread02.start();

        /*for (int i = 0; i < 10; i++) {
            Thread thread = Thread.currentThread();
            String name = thread.getName();
            System.out.println(name + "-" + i);
        }*/
        while (true){}
    }
}
